package com.changgou.users.feign;

import entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name="users")
@RequestMapping("/users")
public interface UserFeign {
    @GetMapping(value = "/points/add")
    public Result addPoint(Integer point);
}
